<?php

// ---------------------------------------------------------------------------
// Please, don't touch this file.
// If you need to custom this Class, you can edit lote.php
// file overwrite and define new methods
// ---------------------------------------------------------------------------

/**
 * 
 *
 * @Authors Sanchez Raul 
 * @package sisco
 * @subpackage model
 */
class Lote_protoweb extends Sisco_model
{
	public $table      = "lotes";
	public $model      = "lote";
	public $has_many   = array('movimiento');
	public $has_one    = array('producto');
		public $validation = array(
		'codigo' => array(
			'label' => 'Código',
			'rules' => array('trim','required')			
		),
		'fecha_vencimiento' => array(
			'label' => 'Fecha de vencimiento',
			'rules' => array()
		)
	); // $validation
	

	public function __construct($id = NULL)
	{
		parent::__construct($id);
	}

} // Class Lote_protoweb

/* End of file lote_protoweb.php */
/* Location: ./application/models/protoweb/lote_protoweb.php */